import { Module } from '@nestjs/common'
import { HomeController } from './home.controller'
import { HomeService } from './home.service'
import { Banner } from '../entities/banner.entity'
import { TypeOrmModule } from '@nestjs/typeorm'
import { Recommend } from '../entities/recommend.entity'
import { Goods } from '../entities/goods.entity'
import { Detail } from '../entities/detail.entity'

@Module({
  controllers: [HomeController],
  providers: [HomeService],
  imports: [TypeOrmModule.forFeature([Banner, Recommend, Goods, Detail])],
})
export class HomeModule {}
